A Higher-Order Demand-Driven Narrowing Calculus with Definitional Trees

نویسنده

  • Rafael del Vado Vírseda
چکیده

We generalize the Constructor-based ReWriting Logic CRWL to the setting of the simply typed λ-calculus, where theories are presented by conditional overlapping fully extended pattern rewrite systems. We claim that this logic is useful for higher-order functional-logic programming, and propose a Higher-Order Lazy Narrowing calculus HOLNDT for answering joinability and reducibility queries, in which a variant of Definitional Trees is used to efficiently control the demand-driven narrowing strategy. The calculus HOLNDT is shown to be sound and strongly complete with respect to this higher-order conditional rewriting logic.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Declarative Constraint Programming with Definitional Trees

The new generic scheme CFLP (D) has been recently proposed in [14] as a logical and semantic framework for lazy Constraint Functional Logic Programming over a parametrically given constraint domain D. Further, [15] presented a Constrained Lazy Narrowing Calculus CLNC(D) as a convenient computation mechanism for solving goals for CFLP (D)-programs, which was proved sound and strongly complete wi...

متن کامل

Higher-Order Narrowing with Definitional Trees

Functional logic languages with a sound and complete operational semantics are mainly based on an inference rule called narrowing. Narrowing extends functional evaluation by goal solving capabilities as in logic programming. Due to the huge search space of simple narrowing, steadily improved narrowing strategies have been developed in the past. Needed narrowing is currently the best narrowing s...

متن کامل

Implementing Natural Rewriting and Narrowing Efficiently

Outermost-needed rewriting/narrowing is a sound and complete optimal demand-driven strategy for the class of inductively sequential constructor systems. Its parallel extension, known as weakly, deals with non-inductively sequential constructor systems. Recently, refinements of (weakly) outermost-needed rewriting and narrowing have been obtained. These new strategies are called natural rewriting...

متن کامل

A Concurrent Operational Semantics for Constraint Functional Logic Programming

In this paper we describe a sound and complete concurrent operational semantics for constraint functional logic programming languages which allows to model declarative applications in which the interaction between demand-driven narrowing and constraint solving helps to prune the search space, leading to shorter goal derivations. We encode concurrency into the generic CFLP(D) scheme, a uniform f...

متن کامل

Higher-Order Narrowing with De nitional Trees

Functional logic languages with a sound and complete opera tional semantics are mainly based on narrowing Due to the huge search space of simple narrowing steadily improved narrowing strategies have been developed in the past Needed narrowing is currently the best nar rowing strategy for rst order functional logic programs due to its opti mality properties w r t the length of derivations and th...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007